import request from '@/utils/request'

// 查询博士录取信息列表
export function listBslq(query) {
  return request({
    url: '/student/bslq/list',
    method: 'get',
    params: query
  })
}

// 查询博士录取信息详细
export function getBslq(id) {
  return request({
    url: '/student/bslq/' + id,
    method: 'get'
  })
}

// 新增博士录取信息
export function addBslq(data) {
  return request({
    url: '/student/bslq',
    method: 'post',
    data: data
  })
}

// 修改博士录取信息
export function updateBslq(data) {
  return request({
    url: '/student/bslq',
    method: 'put',
    data: data
  })
}

// 删除博士录取信息
export function delBslq(id) {
  return request({
    url: '/student/bslq/' + id,
    method: 'delete'
  })
}
